﻿using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SObject.Test
{
    [TestFixture]
    class Object_Initialization
    {
        [Test]
        [TestCase("MyObjectName")]
        [TestCase("AnotherName")]
        [TestCase("My.ObjectName")]
        [TestCase("A.nother..Name")]
        [TestCase("My:ObjectName",ExpectedException=typeof(SObject.Exception))]
        [TestCase("A:nother::Name", ExpectedException = typeof(SObject.Exception))]
        public void CreateObject(string Name)
        {
            SObject.Object myObject = new SObject.Object(Name);
        }
    }
}
